package route

import (
	"camera_app/api/controller"
	"camera_app/middleware"

	"github.com/gin-gonic/gin"
)

func NewStaticRoute(group *gin.RouterGroup) {
	sc := controller.NewStaticController()
	group.GET("/img/:username/:date/:file", middleware.StaticAuth, sc.GetImg)
}
